package com.merry.api.validator;

import javax.servlet.http.HttpServletRequest;

/**
 * Api的验证器接口
 */
public interface ApiValidator {

    /**
     * 验证API接口信息
     *
     * @param request 请求
     * @return 验证是否成功
     * @throws Exception 验证失败异常
     */
    boolean verify(HttpServletRequest request) throws Exception;
}
